home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / var / lib / dpkg / info / libgphoto2-2.postrm < prev    next >
Text File  |  2008-09-23  |  737b  |  31 lines

  1. #! /bin/sh
  2.  
  3. PACKAGE="libgphoto2"
  4.  
  5. set -e
  6.  
  7. case "$1" in
  8.     remove|purge)
  9.     rm -f /etc/hotplug/usb/$PACKAGE.usermap
  10.     rm -f /usr/share/hal/fdi/information/20thirdparty/$PACKAGE.fdi || /bin/true
  11.     rm -f /usr/share/hal/fdi/information/10freedesktop/10-camera-$PACKAGE.fdi || /bin/true
  12.     rm -f /usr/share/hal/fdi/information/10freedesktop/10-camera-$PACKAGE-device.fdi || /bin/true
  13.     rm -f /usr/share/hal/fdi/preprobe/10osvendor/20-$PACKAGE.fdi || /bin/true
  14.     ;;
  15.     disappear|upgrade|failed-upgrade|abort-install|abort-upgrade)
  16.     ;;
  17.  
  18.     *)
  19.         echo "postrm called with unknown argument \`$1'" >&2
  20.         exit 1
  21. esac
  22.  
  23. # Automatically added by dh_makeshlibs
  24. if [ "$1" = "remove" ]; then
  25.     ldconfig
  26. fi
  27. # End automatically added section
  28.  
  29.  
  30. exit 0
  31.